package com.jieshuibao.model.db;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class WxRefundExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    private int pageIndex;

    private int pageSize;

    public WxRefundExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setPageIndex(int pageIndex) {
        this.pageIndex=pageIndex;
    }

    public int getPageIndex() {
        return this.pageIndex;
    }

    public void setPageSize(int pageSize) {
        this.pageSize=pageSize;
    }

    public int getPageSize() {
        return this.pageSize;
    }

    public WxRefundExample(int pageIndex, int pageSize) {
        this();
        this.pageIndex=pageIndex;
        this.pageSize=pageSize;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andUuidIsNull() {
            addCriterion("wx_refund.uuid is null");
            return (Criteria) this;
        }

        public Criteria andUuidIsNotNull() {
            addCriterion("wx_refund.uuid is not null");
            return (Criteria) this;
        }

        public Criteria andUuidEqualTo(String value) {
            addCriterion("wx_refund.uuid =", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidNotEqualTo(String value) {
            addCriterion("wx_refund.uuid <>", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidGreaterThan(String value) {
            addCriterion("wx_refund.uuid >", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidGreaterThanOrEqualTo(String value) {
            addCriterion("wx_refund.uuid >=", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidLessThan(String value) {
            addCriterion("wx_refund.uuid <", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidLessThanOrEqualTo(String value) {
            addCriterion("wx_refund.uuid <=", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidLike(String value) {
            addCriterion("wx_refund.uuid like", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidNotLike(String value) {
            addCriterion("wx_refund.uuid not like", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidIn(List<String> values) {
            addCriterion("wx_refund.uuid in", values, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidNotIn(List<String> values) {
            addCriterion("wx_refund.uuid not in", values, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidBetween(String value1, String value2) {
            addCriterion("wx_refund.uuid between", value1, value2, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidNotBetween(String value1, String value2) {
            addCriterion("wx_refund.uuid not between", value1, value2, "uuid");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNull() {
            addCriterion("wx_refund.userId is null");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNotNull() {
            addCriterion("wx_refund.userId is not null");
            return (Criteria) this;
        }

        public Criteria andUserIdEqualTo(String value) {
            addCriterion("wx_refund.userId =", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotEqualTo(String value) {
            addCriterion("wx_refund.userId <>", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThan(String value) {
            addCriterion("wx_refund.userId >", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThanOrEqualTo(String value) {
            addCriterion("wx_refund.userId >=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThan(String value) {
            addCriterion("wx_refund.userId <", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThanOrEqualTo(String value) {
            addCriterion("wx_refund.userId <=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLike(String value) {
            addCriterion("wx_refund.userId like", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotLike(String value) {
            addCriterion("wx_refund.userId not like", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdIn(List<String> values) {
            addCriterion("wx_refund.userId in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotIn(List<String> values) {
            addCriterion("wx_refund.userId not in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdBetween(String value1, String value2) {
            addCriterion("wx_refund.userId between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotBetween(String value1, String value2) {
            addCriterion("wx_refund.userId not between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andProductIdIsNull() {
            addCriterion("wx_refund.productId is null");
            return (Criteria) this;
        }

        public Criteria andProductIdIsNotNull() {
            addCriterion("wx_refund.productId is not null");
            return (Criteria) this;
        }

        public Criteria andProductIdEqualTo(String value) {
            addCriterion("wx_refund.productId =", value, "productId");
            return (Criteria) this;
        }

        public Criteria andProductIdNotEqualTo(String value) {
            addCriterion("wx_refund.productId <>", value, "productId");
            return (Criteria) this;
        }

        public Criteria andProductIdGreaterThan(String value) {
            addCriterion("wx_refund.productId >", value, "productId");
            return (Criteria) this;
        }

        public Criteria andProductIdGreaterThanOrEqualTo(String value) {
            addCriterion("wx_refund.productId >=", value, "productId");
            return (Criteria) this;
        }

        public Criteria andProductIdLessThan(String value) {
            addCriterion("wx_refund.productId <", value, "productId");
            return (Criteria) this;
        }

        public Criteria andProductIdLessThanOrEqualTo(String value) {
            addCriterion("wx_refund.productId <=", value, "productId");
            return (Criteria) this;
        }

        public Criteria andProductIdLike(String value) {
            addCriterion("wx_refund.productId like", value, "productId");
            return (Criteria) this;
        }

        public Criteria andProductIdNotLike(String value) {
            addCriterion("wx_refund.productId not like", value, "productId");
            return (Criteria) this;
        }

        public Criteria andProductIdIn(List<String> values) {
            addCriterion("wx_refund.productId in", values, "productId");
            return (Criteria) this;
        }

        public Criteria andProductIdNotIn(List<String> values) {
            addCriterion("wx_refund.productId not in", values, "productId");
            return (Criteria) this;
        }

        public Criteria andProductIdBetween(String value1, String value2) {
            addCriterion("wx_refund.productId between", value1, value2, "productId");
            return (Criteria) this;
        }

        public Criteria andProductIdNotBetween(String value1, String value2) {
            addCriterion("wx_refund.productId not between", value1, value2, "productId");
            return (Criteria) this;
        }

        public Criteria andGoodsTypeIsNull() {
            addCriterion("wx_refund.goodsType is null");
            return (Criteria) this;
        }

        public Criteria andGoodsTypeIsNotNull() {
            addCriterion("wx_refund.goodsType is not null");
            return (Criteria) this;
        }

        public Criteria andGoodsTypeEqualTo(String value) {
            addCriterion("wx_refund.goodsType =", value, "goodsType");
            return (Criteria) this;
        }

        public Criteria andGoodsTypeNotEqualTo(String value) {
            addCriterion("wx_refund.goodsType <>", value, "goodsType");
            return (Criteria) this;
        }

        public Criteria andGoodsTypeGreaterThan(String value) {
            addCriterion("wx_refund.goodsType >", value, "goodsType");
            return (Criteria) this;
        }

        public Criteria andGoodsTypeGreaterThanOrEqualTo(String value) {
            addCriterion("wx_refund.goodsType >=", value, "goodsType");
            return (Criteria) this;
        }

        public Criteria andGoodsTypeLessThan(String value) {
            addCriterion("wx_refund.goodsType <", value, "goodsType");
            return (Criteria) this;
        }

        public Criteria andGoodsTypeLessThanOrEqualTo(String value) {
            addCriterion("wx_refund.goodsType <=", value, "goodsType");
            return (Criteria) this;
        }

        public Criteria andGoodsTypeLike(String value) {
            addCriterion("wx_refund.goodsType like", value, "goodsType");
            return (Criteria) this;
        }

        public Criteria andGoodsTypeNotLike(String value) {
            addCriterion("wx_refund.goodsType not like", value, "goodsType");
            return (Criteria) this;
        }

        public Criteria andGoodsTypeIn(List<String> values) {
            addCriterion("wx_refund.goodsType in", values, "goodsType");
            return (Criteria) this;
        }

        public Criteria andGoodsTypeNotIn(List<String> values) {
            addCriterion("wx_refund.goodsType not in", values, "goodsType");
            return (Criteria) this;
        }

        public Criteria andGoodsTypeBetween(String value1, String value2) {
            addCriterion("wx_refund.goodsType between", value1, value2, "goodsType");
            return (Criteria) this;
        }

        public Criteria andGoodsTypeNotBetween(String value1, String value2) {
            addCriterion("wx_refund.goodsType not between", value1, value2, "goodsType");
            return (Criteria) this;
        }

        public Criteria andWxidIsNull() {
            addCriterion("wx_refund.wxid is null");
            return (Criteria) this;
        }

        public Criteria andWxidIsNotNull() {
            addCriterion("wx_refund.wxid is not null");
            return (Criteria) this;
        }

        public Criteria andWxidEqualTo(String value) {
            addCriterion("wx_refund.wxid =", value, "wxid");
            return (Criteria) this;
        }

        public Criteria andWxidNotEqualTo(String value) {
            addCriterion("wx_refund.wxid <>", value, "wxid");
            return (Criteria) this;
        }

        public Criteria andWxidGreaterThan(String value) {
            addCriterion("wx_refund.wxid >", value, "wxid");
            return (Criteria) this;
        }

        public Criteria andWxidGreaterThanOrEqualTo(String value) {
            addCriterion("wx_refund.wxid >=", value, "wxid");
            return (Criteria) this;
        }

        public Criteria andWxidLessThan(String value) {
            addCriterion("wx_refund.wxid <", value, "wxid");
            return (Criteria) this;
        }

        public Criteria andWxidLessThanOrEqualTo(String value) {
            addCriterion("wx_refund.wxid <=", value, "wxid");
            return (Criteria) this;
        }

        public Criteria andWxidLike(String value) {
            addCriterion("wx_refund.wxid like", value, "wxid");
            return (Criteria) this;
        }

        public Criteria andWxidNotLike(String value) {
            addCriterion("wx_refund.wxid not like", value, "wxid");
            return (Criteria) this;
        }

        public Criteria andWxidIn(List<String> values) {
            addCriterion("wx_refund.wxid in", values, "wxid");
            return (Criteria) this;
        }

        public Criteria andWxidNotIn(List<String> values) {
            addCriterion("wx_refund.wxid not in", values, "wxid");
            return (Criteria) this;
        }

        public Criteria andWxidBetween(String value1, String value2) {
            addCriterion("wx_refund.wxid between", value1, value2, "wxid");
            return (Criteria) this;
        }

        public Criteria andWxidNotBetween(String value1, String value2) {
            addCriterion("wx_refund.wxid not between", value1, value2, "wxid");
            return (Criteria) this;
        }

        public Criteria andRefund_idIsNull() {
            addCriterion("wx_refund.refund_id is null");
            return (Criteria) this;
        }

        public Criteria andRefund_idIsNotNull() {
            addCriterion("wx_refund.refund_id is not null");
            return (Criteria) this;
        }

        public Criteria andRefund_idEqualTo(String value) {
            addCriterion("wx_refund.refund_id =", value, "refund_id");
            return (Criteria) this;
        }

        public Criteria andRefund_idNotEqualTo(String value) {
            addCriterion("wx_refund.refund_id <>", value, "refund_id");
            return (Criteria) this;
        }

        public Criteria andRefund_idGreaterThan(String value) {
            addCriterion("wx_refund.refund_id >", value, "refund_id");
            return (Criteria) this;
        }

        public Criteria andRefund_idGreaterThanOrEqualTo(String value) {
            addCriterion("wx_refund.refund_id >=", value, "refund_id");
            return (Criteria) this;
        }

        public Criteria andRefund_idLessThan(String value) {
            addCriterion("wx_refund.refund_id <", value, "refund_id");
            return (Criteria) this;
        }

        public Criteria andRefund_idLessThanOrEqualTo(String value) {
            addCriterion("wx_refund.refund_id <=", value, "refund_id");
            return (Criteria) this;
        }

        public Criteria andRefund_idLike(String value) {
            addCriterion("wx_refund.refund_id like", value, "refund_id");
            return (Criteria) this;
        }

        public Criteria andRefund_idNotLike(String value) {
            addCriterion("wx_refund.refund_id not like", value, "refund_id");
            return (Criteria) this;
        }

        public Criteria andRefund_idIn(List<String> values) {
            addCriterion("wx_refund.refund_id in", values, "refund_id");
            return (Criteria) this;
        }

        public Criteria andRefund_idNotIn(List<String> values) {
            addCriterion("wx_refund.refund_id not in", values, "refund_id");
            return (Criteria) this;
        }

        public Criteria andRefund_idBetween(String value1, String value2) {
            addCriterion("wx_refund.refund_id between", value1, value2, "refund_id");
            return (Criteria) this;
        }

        public Criteria andRefund_idNotBetween(String value1, String value2) {
            addCriterion("wx_refund.refund_id not between", value1, value2, "refund_id");
            return (Criteria) this;
        }

        public Criteria andRefund_feeIsNull() {
            addCriterion("wx_refund.refund_fee is null");
            return (Criteria) this;
        }

        public Criteria andRefund_feeIsNotNull() {
            addCriterion("wx_refund.refund_fee is not null");
            return (Criteria) this;
        }

        public Criteria andRefund_feeEqualTo(Double value) {
            addCriterion("wx_refund.refund_fee =", value, "refund_fee");
            return (Criteria) this;
        }

        public Criteria andRefund_feeNotEqualTo(Double value) {
            addCriterion("wx_refund.refund_fee <>", value, "refund_fee");
            return (Criteria) this;
        }

        public Criteria andRefund_feeGreaterThan(Double value) {
            addCriterion("wx_refund.refund_fee >", value, "refund_fee");
            return (Criteria) this;
        }

        public Criteria andRefund_feeGreaterThanOrEqualTo(Double value) {
            addCriterion("wx_refund.refund_fee >=", value, "refund_fee");
            return (Criteria) this;
        }

        public Criteria andRefund_feeLessThan(Double value) {
            addCriterion("wx_refund.refund_fee <", value, "refund_fee");
            return (Criteria) this;
        }

        public Criteria andRefund_feeLessThanOrEqualTo(Double value) {
            addCriterion("wx_refund.refund_fee <=", value, "refund_fee");
            return (Criteria) this;
        }

        public Criteria andRefund_feeIn(List<Double> values) {
            addCriterion("wx_refund.refund_fee in", values, "refund_fee");
            return (Criteria) this;
        }

        public Criteria andRefund_feeNotIn(List<Double> values) {
            addCriterion("wx_refund.refund_fee not in", values, "refund_fee");
            return (Criteria) this;
        }

        public Criteria andRefund_feeBetween(Double value1, Double value2) {
            addCriterion("wx_refund.refund_fee between", value1, value2, "refund_fee");
            return (Criteria) this;
        }

        public Criteria andRefund_feeNotBetween(Double value1, Double value2) {
            addCriterion("wx_refund.refund_fee not between", value1, value2, "refund_fee");
            return (Criteria) this;
        }

        public Criteria andSettlement_refund_feeIsNull() {
            addCriterion("wx_refund.settlement_refund_fee is null");
            return (Criteria) this;
        }

        public Criteria andSettlement_refund_feeIsNotNull() {
            addCriterion("wx_refund.settlement_refund_fee is not null");
            return (Criteria) this;
        }

        public Criteria andSettlement_refund_feeEqualTo(Integer value) {
            addCriterion("wx_refund.settlement_refund_fee =", value, "settlement_refund_fee");
            return (Criteria) this;
        }

        public Criteria andSettlement_refund_feeNotEqualTo(Integer value) {
            addCriterion("wx_refund.settlement_refund_fee <>", value, "settlement_refund_fee");
            return (Criteria) this;
        }

        public Criteria andSettlement_refund_feeGreaterThan(Integer value) {
            addCriterion("wx_refund.settlement_refund_fee >", value, "settlement_refund_fee");
            return (Criteria) this;
        }

        public Criteria andSettlement_refund_feeGreaterThanOrEqualTo(Integer value) {
            addCriterion("wx_refund.settlement_refund_fee >=", value, "settlement_refund_fee");
            return (Criteria) this;
        }

        public Criteria andSettlement_refund_feeLessThan(Integer value) {
            addCriterion("wx_refund.settlement_refund_fee <", value, "settlement_refund_fee");
            return (Criteria) this;
        }

        public Criteria andSettlement_refund_feeLessThanOrEqualTo(Integer value) {
            addCriterion("wx_refund.settlement_refund_fee <=", value, "settlement_refund_fee");
            return (Criteria) this;
        }

        public Criteria andSettlement_refund_feeIn(List<Integer> values) {
            addCriterion("wx_refund.settlement_refund_fee in", values, "settlement_refund_fee");
            return (Criteria) this;
        }

        public Criteria andSettlement_refund_feeNotIn(List<Integer> values) {
            addCriterion("wx_refund.settlement_refund_fee not in", values, "settlement_refund_fee");
            return (Criteria) this;
        }

        public Criteria andSettlement_refund_feeBetween(Integer value1, Integer value2) {
            addCriterion("wx_refund.settlement_refund_fee between", value1, value2, "settlement_refund_fee");
            return (Criteria) this;
        }

        public Criteria andSettlement_refund_feeNotBetween(Integer value1, Integer value2) {
            addCriterion("wx_refund.settlement_refund_fee not between", value1, value2, "settlement_refund_fee");
            return (Criteria) this;
        }

        public Criteria andRefund_fee_typeIsNull() {
            addCriterion("wx_refund.refund_fee_type is null");
            return (Criteria) this;
        }

        public Criteria andRefund_fee_typeIsNotNull() {
            addCriterion("wx_refund.refund_fee_type is not null");
            return (Criteria) this;
        }

        public Criteria andRefund_fee_typeEqualTo(String value) {
            addCriterion("wx_refund.refund_fee_type =", value, "refund_fee_type");
            return (Criteria) this;
        }

        public Criteria andRefund_fee_typeNotEqualTo(String value) {
            addCriterion("wx_refund.refund_fee_type <>", value, "refund_fee_type");
            return (Criteria) this;
        }

        public Criteria andRefund_fee_typeGreaterThan(String value) {
            addCriterion("wx_refund.refund_fee_type >", value, "refund_fee_type");
            return (Criteria) this;
        }

        public Criteria andRefund_fee_typeGreaterThanOrEqualTo(String value) {
            addCriterion("wx_refund.refund_fee_type >=", value, "refund_fee_type");
            return (Criteria) this;
        }

        public Criteria andRefund_fee_typeLessThan(String value) {
            addCriterion("wx_refund.refund_fee_type <", value, "refund_fee_type");
            return (Criteria) this;
        }

        public Criteria andRefund_fee_typeLessThanOrEqualTo(String value) {
            addCriterion("wx_refund.refund_fee_type <=", value, "refund_fee_type");
            return (Criteria) this;
        }

        public Criteria andRefund_fee_typeLike(String value) {
            addCriterion("wx_refund.refund_fee_type like", value, "refund_fee_type");
            return (Criteria) this;
        }

        public Criteria andRefund_fee_typeNotLike(String value) {
            addCriterion("wx_refund.refund_fee_type not like", value, "refund_fee_type");
            return (Criteria) this;
        }

        public Criteria andRefund_fee_typeIn(List<String> values) {
            addCriterion("wx_refund.refund_fee_type in", values, "refund_fee_type");
            return (Criteria) this;
        }

        public Criteria andRefund_fee_typeNotIn(List<String> values) {
            addCriterion("wx_refund.refund_fee_type not in", values, "refund_fee_type");
            return (Criteria) this;
        }

        public Criteria andRefund_fee_typeBetween(String value1, String value2) {
            addCriterion("wx_refund.refund_fee_type between", value1, value2, "refund_fee_type");
            return (Criteria) this;
        }

        public Criteria andRefund_fee_typeNotBetween(String value1, String value2) {
            addCriterion("wx_refund.refund_fee_type not between", value1, value2, "refund_fee_type");
            return (Criteria) this;
        }

        public Criteria andRefund_descIsNull() {
            addCriterion("wx_refund.refund_desc is null");
            return (Criteria) this;
        }

        public Criteria andRefund_descIsNotNull() {
            addCriterion("wx_refund.refund_desc is not null");
            return (Criteria) this;
        }

        public Criteria andRefund_descEqualTo(String value) {
            addCriterion("wx_refund.refund_desc =", value, "refund_desc");
            return (Criteria) this;
        }

        public Criteria andRefund_descNotEqualTo(String value) {
            addCriterion("wx_refund.refund_desc <>", value, "refund_desc");
            return (Criteria) this;
        }

        public Criteria andRefund_descGreaterThan(String value) {
            addCriterion("wx_refund.refund_desc >", value, "refund_desc");
            return (Criteria) this;
        }

        public Criteria andRefund_descGreaterThanOrEqualTo(String value) {
            addCriterion("wx_refund.refund_desc >=", value, "refund_desc");
            return (Criteria) this;
        }

        public Criteria andRefund_descLessThan(String value) {
            addCriterion("wx_refund.refund_desc <", value, "refund_desc");
            return (Criteria) this;
        }

        public Criteria andRefund_descLessThanOrEqualTo(String value) {
            addCriterion("wx_refund.refund_desc <=", value, "refund_desc");
            return (Criteria) this;
        }

        public Criteria andRefund_descLike(String value) {
            addCriterion("wx_refund.refund_desc like", value, "refund_desc");
            return (Criteria) this;
        }

        public Criteria andRefund_descNotLike(String value) {
            addCriterion("wx_refund.refund_desc not like", value, "refund_desc");
            return (Criteria) this;
        }

        public Criteria andRefund_descIn(List<String> values) {
            addCriterion("wx_refund.refund_desc in", values, "refund_desc");
            return (Criteria) this;
        }

        public Criteria andRefund_descNotIn(List<String> values) {
            addCriterion("wx_refund.refund_desc not in", values, "refund_desc");
            return (Criteria) this;
        }

        public Criteria andRefund_descBetween(String value1, String value2) {
            addCriterion("wx_refund.refund_desc between", value1, value2, "refund_desc");
            return (Criteria) this;
        }

        public Criteria andRefund_descNotBetween(String value1, String value2) {
            addCriterion("wx_refund.refund_desc not between", value1, value2, "refund_desc");
            return (Criteria) this;
        }

        public Criteria andRefund_accountIsNull() {
            addCriterion("wx_refund.refund_account is null");
            return (Criteria) this;
        }

        public Criteria andRefund_accountIsNotNull() {
            addCriterion("wx_refund.refund_account is not null");
            return (Criteria) this;
        }

        public Criteria andRefund_accountEqualTo(String value) {
            addCriterion("wx_refund.refund_account =", value, "refund_account");
            return (Criteria) this;
        }

        public Criteria andRefund_accountNotEqualTo(String value) {
            addCriterion("wx_refund.refund_account <>", value, "refund_account");
            return (Criteria) this;
        }

        public Criteria andRefund_accountGreaterThan(String value) {
            addCriterion("wx_refund.refund_account >", value, "refund_account");
            return (Criteria) this;
        }

        public Criteria andRefund_accountGreaterThanOrEqualTo(String value) {
            addCriterion("wx_refund.refund_account >=", value, "refund_account");
            return (Criteria) this;
        }

        public Criteria andRefund_accountLessThan(String value) {
            addCriterion("wx_refund.refund_account <", value, "refund_account");
            return (Criteria) this;
        }

        public Criteria andRefund_accountLessThanOrEqualTo(String value) {
            addCriterion("wx_refund.refund_account <=", value, "refund_account");
            return (Criteria) this;
        }

        public Criteria andRefund_accountLike(String value) {
            addCriterion("wx_refund.refund_account like", value, "refund_account");
            return (Criteria) this;
        }

        public Criteria andRefund_accountNotLike(String value) {
            addCriterion("wx_refund.refund_account not like", value, "refund_account");
            return (Criteria) this;
        }

        public Criteria andRefund_accountIn(List<String> values) {
            addCriterion("wx_refund.refund_account in", values, "refund_account");
            return (Criteria) this;
        }

        public Criteria andRefund_accountNotIn(List<String> values) {
            addCriterion("wx_refund.refund_account not in", values, "refund_account");
            return (Criteria) this;
        }

        public Criteria andRefund_accountBetween(String value1, String value2) {
            addCriterion("wx_refund.refund_account between", value1, value2, "refund_account");
            return (Criteria) this;
        }

        public Criteria andRefund_accountNotBetween(String value1, String value2) {
            addCriterion("wx_refund.refund_account not between", value1, value2, "refund_account");
            return (Criteria) this;
        }

        public Criteria andSuccess_timeIsNull() {
            addCriterion("wx_refund.success_time is null");
            return (Criteria) this;
        }

        public Criteria andSuccess_timeIsNotNull() {
            addCriterion("wx_refund.success_time is not null");
            return (Criteria) this;
        }

        public Criteria andSuccess_timeEqualTo(Date value) {
            addCriterion("wx_refund.success_time =", value, "success_time");
            return (Criteria) this;
        }

        public Criteria andSuccess_timeNotEqualTo(Date value) {
            addCriterion("wx_refund.success_time <>", value, "success_time");
            return (Criteria) this;
        }

        public Criteria andSuccess_timeGreaterThan(Date value) {
            addCriterion("wx_refund.success_time >", value, "success_time");
            return (Criteria) this;
        }

        public Criteria andSuccess_timeGreaterThanOrEqualTo(Date value) {
            addCriterion("wx_refund.success_time >=", value, "success_time");
            return (Criteria) this;
        }

        public Criteria andSuccess_timeLessThan(Date value) {
            addCriterion("wx_refund.success_time <", value, "success_time");
            return (Criteria) this;
        }

        public Criteria andSuccess_timeLessThanOrEqualTo(Date value) {
            addCriterion("wx_refund.success_time <=", value, "success_time");
            return (Criteria) this;
        }

        public Criteria andSuccess_timeIn(List<Date> values) {
            addCriterion("wx_refund.success_time in", values, "success_time");
            return (Criteria) this;
        }

        public Criteria andSuccess_timeNotIn(List<Date> values) {
            addCriterion("wx_refund.success_time not in", values, "success_time");
            return (Criteria) this;
        }

        public Criteria andSuccess_timeBetween(Date value1, Date value2) {
            addCriterion("wx_refund.success_time between", value1, value2, "success_time");
            return (Criteria) this;
        }

        public Criteria andSuccess_timeNotBetween(Date value1, Date value2) {
            addCriterion("wx_refund.success_time not between", value1, value2, "success_time");
            return (Criteria) this;
        }

        public Criteria andRefund_statusIsNull() {
            addCriterion("wx_refund.refund_status is null");
            return (Criteria) this;
        }

        public Criteria andRefund_statusIsNotNull() {
            addCriterion("wx_refund.refund_status is not null");
            return (Criteria) this;
        }

        public Criteria andRefund_statusEqualTo(String value) {
            addCriterion("wx_refund.refund_status =", value, "refund_status");
            return (Criteria) this;
        }

        public Criteria andRefund_statusNotEqualTo(String value) {
            addCriterion("wx_refund.refund_status <>", value, "refund_status");
            return (Criteria) this;
        }

        public Criteria andRefund_statusGreaterThan(String value) {
            addCriterion("wx_refund.refund_status >", value, "refund_status");
            return (Criteria) this;
        }

        public Criteria andRefund_statusGreaterThanOrEqualTo(String value) {
            addCriterion("wx_refund.refund_status >=", value, "refund_status");
            return (Criteria) this;
        }

        public Criteria andRefund_statusLessThan(String value) {
            addCriterion("wx_refund.refund_status <", value, "refund_status");
            return (Criteria) this;
        }

        public Criteria andRefund_statusLessThanOrEqualTo(String value) {
            addCriterion("wx_refund.refund_status <=", value, "refund_status");
            return (Criteria) this;
        }

        public Criteria andRefund_statusLike(String value) {
            addCriterion("wx_refund.refund_status like", value, "refund_status");
            return (Criteria) this;
        }

        public Criteria andRefund_statusNotLike(String value) {
            addCriterion("wx_refund.refund_status not like", value, "refund_status");
            return (Criteria) this;
        }

        public Criteria andRefund_statusIn(List<String> values) {
            addCriterion("wx_refund.refund_status in", values, "refund_status");
            return (Criteria) this;
        }

        public Criteria andRefund_statusNotIn(List<String> values) {
            addCriterion("wx_refund.refund_status not in", values, "refund_status");
            return (Criteria) this;
        }

        public Criteria andRefund_statusBetween(String value1, String value2) {
            addCriterion("wx_refund.refund_status between", value1, value2, "refund_status");
            return (Criteria) this;
        }

        public Criteria andRefund_statusNotBetween(String value1, String value2) {
            addCriterion("wx_refund.refund_status not between", value1, value2, "refund_status");
            return (Criteria) this;
        }

        public Criteria andApply_timeIsNull() {
            addCriterion("wx_refund.apply_time is null");
            return (Criteria) this;
        }

        public Criteria andApply_timeIsNotNull() {
            addCriterion("wx_refund.apply_time is not null");
            return (Criteria) this;
        }

        public Criteria andApply_timeEqualTo(Date value) {
            addCriterion("wx_refund.apply_time =", value, "apply_time");
            return (Criteria) this;
        }

        public Criteria andApply_timeNotEqualTo(Date value) {
            addCriterion("wx_refund.apply_time <>", value, "apply_time");
            return (Criteria) this;
        }

        public Criteria andApply_timeGreaterThan(Date value) {
            addCriterion("wx_refund.apply_time >", value, "apply_time");
            return (Criteria) this;
        }

        public Criteria andApply_timeGreaterThanOrEqualTo(Date value) {
            addCriterion("wx_refund.apply_time >=", value, "apply_time");
            return (Criteria) this;
        }

        public Criteria andApply_timeLessThan(Date value) {
            addCriterion("wx_refund.apply_time <", value, "apply_time");
            return (Criteria) this;
        }

        public Criteria andApply_timeLessThanOrEqualTo(Date value) {
            addCriterion("wx_refund.apply_time <=", value, "apply_time");
            return (Criteria) this;
        }

        public Criteria andApply_timeIn(List<Date> values) {
            addCriterion("wx_refund.apply_time in", values, "apply_time");
            return (Criteria) this;
        }

        public Criteria andApply_timeNotIn(List<Date> values) {
            addCriterion("wx_refund.apply_time not in", values, "apply_time");
            return (Criteria) this;
        }

        public Criteria andApply_timeBetween(Date value1, Date value2) {
            addCriterion("wx_refund.apply_time between", value1, value2, "apply_time");
            return (Criteria) this;
        }

        public Criteria andApply_timeNotBetween(Date value1, Date value2) {
            addCriterion("wx_refund.apply_time not between", value1, value2, "apply_time");
            return (Criteria) this;
        }

        public Criteria andRefund_recv_accoutIsNull() {
            addCriterion("wx_refund.refund_recv_accout is null");
            return (Criteria) this;
        }

        public Criteria andRefund_recv_accoutIsNotNull() {
            addCriterion("wx_refund.refund_recv_accout is not null");
            return (Criteria) this;
        }

        public Criteria andRefund_recv_accoutEqualTo(String value) {
            addCriterion("wx_refund.refund_recv_accout =", value, "refund_recv_accout");
            return (Criteria) this;
        }

        public Criteria andRefund_recv_accoutNotEqualTo(String value) {
            addCriterion("wx_refund.refund_recv_accout <>", value, "refund_recv_accout");
            return (Criteria) this;
        }

        public Criteria andRefund_recv_accoutGreaterThan(String value) {
            addCriterion("wx_refund.refund_recv_accout >", value, "refund_recv_accout");
            return (Criteria) this;
        }

        public Criteria andRefund_recv_accoutGreaterThanOrEqualTo(String value) {
            addCriterion("wx_refund.refund_recv_accout >=", value, "refund_recv_accout");
            return (Criteria) this;
        }

        public Criteria andRefund_recv_accoutLessThan(String value) {
            addCriterion("wx_refund.refund_recv_accout <", value, "refund_recv_accout");
            return (Criteria) this;
        }

        public Criteria andRefund_recv_accoutLessThanOrEqualTo(String value) {
            addCriterion("wx_refund.refund_recv_accout <=", value, "refund_recv_accout");
            return (Criteria) this;
        }

        public Criteria andRefund_recv_accoutLike(String value) {
            addCriterion("wx_refund.refund_recv_accout like", value, "refund_recv_accout");
            return (Criteria) this;
        }

        public Criteria andRefund_recv_accoutNotLike(String value) {
            addCriterion("wx_refund.refund_recv_accout not like", value, "refund_recv_accout");
            return (Criteria) this;
        }

        public Criteria andRefund_recv_accoutIn(List<String> values) {
            addCriterion("wx_refund.refund_recv_accout in", values, "refund_recv_accout");
            return (Criteria) this;
        }

        public Criteria andRefund_recv_accoutNotIn(List<String> values) {
            addCriterion("wx_refund.refund_recv_accout not in", values, "refund_recv_accout");
            return (Criteria) this;
        }

        public Criteria andRefund_recv_accoutBetween(String value1, String value2) {
            addCriterion("wx_refund.refund_recv_accout between", value1, value2, "refund_recv_accout");
            return (Criteria) this;
        }

        public Criteria andRefund_recv_accoutNotBetween(String value1, String value2) {
            addCriterion("wx_refund.refund_recv_accout not between", value1, value2, "refund_recv_accout");
            return (Criteria) this;
        }

        public Criteria andRefund_request_sourceIsNull() {
            addCriterion("wx_refund.refund_request_source is null");
            return (Criteria) this;
        }

        public Criteria andRefund_request_sourceIsNotNull() {
            addCriterion("wx_refund.refund_request_source is not null");
            return (Criteria) this;
        }

        public Criteria andRefund_request_sourceEqualTo(String value) {
            addCriterion("wx_refund.refund_request_source =", value, "refund_request_source");
            return (Criteria) this;
        }

        public Criteria andRefund_request_sourceNotEqualTo(String value) {
            addCriterion("wx_refund.refund_request_source <>", value, "refund_request_source");
            return (Criteria) this;
        }

        public Criteria andRefund_request_sourceGreaterThan(String value) {
            addCriterion("wx_refund.refund_request_source >", value, "refund_request_source");
            return (Criteria) this;
        }

        public Criteria andRefund_request_sourceGreaterThanOrEqualTo(String value) {
            addCriterion("wx_refund.refund_request_source >=", value, "refund_request_source");
            return (Criteria) this;
        }

        public Criteria andRefund_request_sourceLessThan(String value) {
            addCriterion("wx_refund.refund_request_source <", value, "refund_request_source");
            return (Criteria) this;
        }

        public Criteria andRefund_request_sourceLessThanOrEqualTo(String value) {
            addCriterion("wx_refund.refund_request_source <=", value, "refund_request_source");
            return (Criteria) this;
        }

        public Criteria andRefund_request_sourceLike(String value) {
            addCriterion("wx_refund.refund_request_source like", value, "refund_request_source");
            return (Criteria) this;
        }

        public Criteria andRefund_request_sourceNotLike(String value) {
            addCriterion("wx_refund.refund_request_source not like", value, "refund_request_source");
            return (Criteria) this;
        }

        public Criteria andRefund_request_sourceIn(List<String> values) {
            addCriterion("wx_refund.refund_request_source in", values, "refund_request_source");
            return (Criteria) this;
        }

        public Criteria andRefund_request_sourceNotIn(List<String> values) {
            addCriterion("wx_refund.refund_request_source not in", values, "refund_request_source");
            return (Criteria) this;
        }

        public Criteria andRefund_request_sourceBetween(String value1, String value2) {
            addCriterion("wx_refund.refund_request_source between", value1, value2, "refund_request_source");
            return (Criteria) this;
        }

        public Criteria andRefund_request_sourceNotBetween(String value1, String value2) {
            addCriterion("wx_refund.refund_request_source not between", value1, value2, "refund_request_source");
            return (Criteria) this;
        }

        public Criteria andErr_codeIsNull() {
            addCriterion("wx_refund.err_code is null");
            return (Criteria) this;
        }

        public Criteria andErr_codeIsNotNull() {
            addCriterion("wx_refund.err_code is not null");
            return (Criteria) this;
        }

        public Criteria andErr_codeEqualTo(String value) {
            addCriterion("wx_refund.err_code =", value, "err_code");
            return (Criteria) this;
        }

        public Criteria andErr_codeNotEqualTo(String value) {
            addCriterion("wx_refund.err_code <>", value, "err_code");
            return (Criteria) this;
        }

        public Criteria andErr_codeGreaterThan(String value) {
            addCriterion("wx_refund.err_code >", value, "err_code");
            return (Criteria) this;
        }

        public Criteria andErr_codeGreaterThanOrEqualTo(String value) {
            addCriterion("wx_refund.err_code >=", value, "err_code");
            return (Criteria) this;
        }

        public Criteria andErr_codeLessThan(String value) {
            addCriterion("wx_refund.err_code <", value, "err_code");
            return (Criteria) this;
        }

        public Criteria andErr_codeLessThanOrEqualTo(String value) {
            addCriterion("wx_refund.err_code <=", value, "err_code");
            return (Criteria) this;
        }

        public Criteria andErr_codeLike(String value) {
            addCriterion("wx_refund.err_code like", value, "err_code");
            return (Criteria) this;
        }

        public Criteria andErr_codeNotLike(String value) {
            addCriterion("wx_refund.err_code not like", value, "err_code");
            return (Criteria) this;
        }

        public Criteria andErr_codeIn(List<String> values) {
            addCriterion("wx_refund.err_code in", values, "err_code");
            return (Criteria) this;
        }

        public Criteria andErr_codeNotIn(List<String> values) {
            addCriterion("wx_refund.err_code not in", values, "err_code");
            return (Criteria) this;
        }

        public Criteria andErr_codeBetween(String value1, String value2) {
            addCriterion("wx_refund.err_code between", value1, value2, "err_code");
            return (Criteria) this;
        }

        public Criteria andErr_codeNotBetween(String value1, String value2) {
            addCriterion("wx_refund.err_code not between", value1, value2, "err_code");
            return (Criteria) this;
        }

        public Criteria andErr_code_desIsNull() {
            addCriterion("wx_refund.err_code_des is null");
            return (Criteria) this;
        }

        public Criteria andErr_code_desIsNotNull() {
            addCriterion("wx_refund.err_code_des is not null");
            return (Criteria) this;
        }

        public Criteria andErr_code_desEqualTo(String value) {
            addCriterion("wx_refund.err_code_des =", value, "err_code_des");
            return (Criteria) this;
        }

        public Criteria andErr_code_desNotEqualTo(String value) {
            addCriterion("wx_refund.err_code_des <>", value, "err_code_des");
            return (Criteria) this;
        }

        public Criteria andErr_code_desGreaterThan(String value) {
            addCriterion("wx_refund.err_code_des >", value, "err_code_des");
            return (Criteria) this;
        }

        public Criteria andErr_code_desGreaterThanOrEqualTo(String value) {
            addCriterion("wx_refund.err_code_des >=", value, "err_code_des");
            return (Criteria) this;
        }

        public Criteria andErr_code_desLessThan(String value) {
            addCriterion("wx_refund.err_code_des <", value, "err_code_des");
            return (Criteria) this;
        }

        public Criteria andErr_code_desLessThanOrEqualTo(String value) {
            addCriterion("wx_refund.err_code_des <=", value, "err_code_des");
            return (Criteria) this;
        }

        public Criteria andErr_code_desLike(String value) {
            addCriterion("wx_refund.err_code_des like", value, "err_code_des");
            return (Criteria) this;
        }

        public Criteria andErr_code_desNotLike(String value) {
            addCriterion("wx_refund.err_code_des not like", value, "err_code_des");
            return (Criteria) this;
        }

        public Criteria andErr_code_desIn(List<String> values) {
            addCriterion("wx_refund.err_code_des in", values, "err_code_des");
            return (Criteria) this;
        }

        public Criteria andErr_code_desNotIn(List<String> values) {
            addCriterion("wx_refund.err_code_des not in", values, "err_code_des");
            return (Criteria) this;
        }

        public Criteria andErr_code_desBetween(String value1, String value2) {
            addCriterion("wx_refund.err_code_des between", value1, value2, "err_code_des");
            return (Criteria) this;
        }

        public Criteria andErr_code_desNotBetween(String value1, String value2) {
            addCriterion("wx_refund.err_code_des not between", value1, value2, "err_code_des");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}